package com.cdks.wuxiu.api.service.mysql;


import java.util.Date;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cdks.wuxiu.api.model.dto.UserAnswerStatisDTO;
import com.cdks.wuxiu.entity.mysql.DailyUserInfo;


/**
 * 每日用户信息 服务类
 */
public interface DailyUserInfoService extends IService<DailyUserInfo> {
    int addCallInCount(Date date, long answerId);
    int addAnswerCount(Date date, long answerId);
    int setIdleTime(long userId);
    int addAnswerTime(Date date, long userId, long duration);
    int updateAnswerInfo(Date date, long userId, long duration);
    UserAnswerStatisDTO getAnswerStatis(Long answerId);
}
